package com.quarkboom.kotlinapp.intercept

class Manager {

    val mList: ArrayList<InterceptInterface> = ArrayList()
    var addString: String = ""
    var index = 0;

    fun addIntercept(interceptInterface: InterceptInterface) {
        mList.add(interceptInterface)
    }
    fun process(s: String): String {
        addString = s
        var intercept = mList.get(index)
        addString = intercept.addString(this)
        return addString
    }


}
